package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Food;

import java.util.ArrayList;

public interface FoodService {
    
    void add(ArrayList<Food> data);

    PageResult findPage(QueryPageBean queryPageBean);

    void save(Food food);

    void delete(Integer id);

    void edit(Food food);

    Food findById(Integer id);

}
